/*
 *    Copyright (c) 2018-2025, cloud All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: cloud
 */

package com.fuyao.cloud.asset.purchaseorderlist.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fuyao.cloud.asset.entity.AssetPurchaseorder;
import com.fuyao.cloud.asset.entity.AssetPurchaseorderList;
import com.fuyao.cloud.asset.vo.purchaseorder.PurchaseOrderListVO;

import java.util.List;

/**
 * 采购订单清单
 *
 * @author liyue
 * @date 2021-11-24 10:55:39
 */
public interface AssetPurchaseorderListService extends IService<AssetPurchaseorderList> {


	/**
	 * 保存、修改采购清单明细信息
	 * @param purchaseorder 采购主单对象
	 * @return 是否保存或修改成功。
	 */
	boolean saveOrUpdatePurchaseOrderList(AssetPurchaseorder purchaseorder);

	/**
	 * 查询采购清单信息
	 * @param entity 查谭构造器
	 * @return 清单信息
	 */
	List<PurchaseOrderListVO> listPurchaseOrderList(AssetPurchaseorder entity);
}
